from settings.settings import Path
from pathlib import Path


def write_txt(file, data):
    """
    数据写入txt文件，数据之间以'#'分隔
    :param file: 写入文件
    :param data: 写入数据
    :return:
    """
    with open(file, 'w', encoding='utf-8') as f:
        f.write(data + '#')
